
boot/head.o：     文件格式 elf32-i386


Disassembly of section .text:

00000000 <pg_dir>:
       0:	b8 10 00 00 00       	mov    $0x10,%eax
       5:	8e d8                	mov    %eax,%ds
       7:	8e c0                	mov    %eax,%es
       9:	8e e0                	mov    %eax,%fs
       b:	8e e8                	mov    %eax,%gs
       d:	0f b2 25 00 00 00 00 	lss    0x0,%esp
      14:	e8 43 00 00 00       	call   5c <setup_idt>
      19:	e8 6e 00 00 00       	call   8c <setup_gdt>
      1e:	b8 10 00 00 00       	mov    $0x10,%eax
      23:	8e d8                	mov    %eax,%ds
      25:	8e c0                	mov    %eax,%es
      27:	8e e0                	mov    %eax,%fs
      29:	8e e8                	mov    %eax,%gs
      2b:	0f b2 25 00 00 00 00 	lss    0x0,%esp
      32:	31 c0                	xor    %eax,%eax
      34:	40                   	inc    %eax
      35:	a3 00 00 00 00       	mov    %eax,0x0
      3a:	39 05 00 00 10 00    	cmp    %eax,0x100000
      40:	74 f2                	je     34 <pg_dir+0x34>
      42:	0f 20 c0             	mov    %cr0,%eax
      45:	25 11 00 00 80       	and    $0x80000011,%eax
      4a:	a9 10 00 00 00       	test   $0x10,%eax
      4f:	75 03                	jne    54 <pg_dir+0x54>
      51:	83 c8 04             	or     $0x4,%eax
      54:	0f 22 c0             	mov    %eax,%cr0
      57:	e9 a4 3f 00 00       	jmp    4000 <after_page_tables>

0000005c <setup_idt>:
      5c:	8d 15 14 40 00 00    	lea    0x4014,%edx
      62:	b8 00 00 08 00       	mov    $0x80000,%eax
      67:	66 89 d0             	mov    %dx,%ax
      6a:	66 ba 00 8e          	mov    $0x8e00,%dx
      6e:	8d 3d 00 00 00 00    	lea    0x0,%edi
      74:	b9 00 01 00 00       	mov    $0x100,%ecx

00000079 <rp_sidt>:
      79:	89 07                	mov    %eax,(%edi)
      7b:	89 57 04             	mov    %edx,0x4(%edi)
      7e:	83 c7 08             	add    $0x8,%edi
      81:	49                   	dec    %ecx
      82:	75 f5                	jne    79 <rp_sidt>
      84:	0f 01 1d 6a 40 00 00 	lidtl  0x406a
      8b:	c3                   	ret    

0000008c <setup_gdt>:
      8c:	0f 01 15 72 40 00 00 	lgdtl  0x4072
      93:	c3                   	ret    
	...

00001000 <pg0>:
	...

00002000 <pg1>:
	...

00003000 <pg2>:
	...

00004000 <after_page_tables>:
    4000:	6a 00                	push   $0x0
    4002:	6a 00                	push   $0x0
    4004:	6a 00                	push   $0x0
    4006:	68 12 40 00 00       	push   $0x4012
    400b:	68 00 00 00 00       	push   $0x0
    4010:	eb 12                	jmp    4024 <setup_paging>

00004012 <L6>:
    4012:	eb fe                	jmp    4012 <L6>

00004014 <ignore_int>:
    4014:	fe 05 a0 80 0b 00    	incb   0xb80a0
    401a:	c6 05 a1 80 0b 00 02 	movb   $0x2,0xb80a1
    4021:	cf                   	iret   
    4022:	66 90                	xchg   %ax,%ax

00004024 <setup_paging>:
    4024:	b9 00 0c 00 00       	mov    $0xc00,%ecx
    4029:	31 c0                	xor    %eax,%eax
    402b:	31 ff                	xor    %edi,%edi
    402d:	fc                   	cld    
    402e:	f3 ab                	rep stos %eax,%es:(%edi)
    4030:	c7 05 00 00 00 00 07 	movl   $0x1007,0x0
    4037:	10 00 00 
    403a:	c7 05 04 00 00 00 07 	movl   $0x2007,0x4
    4041:	20 00 00 
    4044:	bf fc 2f 00 00       	mov    $0x2ffc,%edi
    4049:	b8 07 f0 7f 00       	mov    $0x7ff007,%eax
    404e:	fd                   	std    
    404f:	ab                   	stos   %eax,%es:(%edi)
    4050:	2d 00 10 00 00       	sub    $0x1000,%eax
    4055:	7d f8                	jge    404f <setup_paging+0x2b>
    4057:	31 c0                	xor    %eax,%eax
    4059:	0f 22 d8             	mov    %eax,%cr3
    405c:	0f 20 c0             	mov    %cr0,%eax
    405f:	0d 00 00 00 80       	or     $0x80000000,%eax
    4064:	0f 22 c0             	mov    %eax,%cr0
    4067:	c3                   	ret    
	...

0000406a <idt_descr>:
    406a:	ff 07                	incl   (%edi)
    406c:	00 00                	add    %al,(%eax)
    406e:	00 00                	add    %al,(%eax)
	...

00004072 <gdt_descr>:
    4072:	ff 07                	incl   (%edi)
    4074:	00 00                	add    %al,(%eax)
	...

00004078 <idt>:
	...

00004878 <gdt>:
	...
    4880:	ff 07                	incl   (%edi)
    4882:	00 00                	add    %al,(%eax)
    4884:	00 9a c0 00 ff 07    	add    %bl,0x7ff00c0(%edx)
    488a:	00 00                	add    %al,(%eax)
    488c:	00 92 c0 00 00 00    	add    %dl,0xc0(%edx)
	...
